// 线路模块
import request from '@/utils/request'
import settings from '@/settings'

// 线路基础信息
export function getLineDetail(data) {
  return request({
    url: settings.basicPrefix + '/gf2/overallSituation/getLineDetail',
    method: 'post',
    data
  })
}
// 新能源用户概况
export function getLineCountSum(data) {
  return request({
    url: settings.basicPrefix + '/gf2/elink/getLineCountSumElink',
    method: 'post',
    data
  })
}
// 新能源消纳情况
export function getLineYdlForMonthElink(data) {
  return request({
    url: settings.basicPrefix + '/gf2/elink/getLineYdlForMonthElink',
    method: 'post',
    data
  })
}
// 台区光伏发电量统计-日
export function getPbFdl(data) {
  return request({
    url: settings.basicPrefix + '/gf2/PbInfo/getGfFdl',
    method: 'post',
    data
  })
}
// 中压线路故障、缺陷隐患情况统计
export function getAppealFaultDetail(data) {
  return request({
    url: settings.basicPrefix + '/gf2/elink/getAppealFaultDetail',
    method: 'post',
    data
  })
}